@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;800;900&family=Inter:wght@400;600&display=swap');

/* ---------- Base Theme ---------- */
:root {
  --bg-dark: linear-gradient(135deg, #1e1f22 0%, #242527 35%, #2d2f31 70%, #3a3b3c 100%);
  --text-light: #f2b64d;
  --text-dark: #000000;
  --muted-light: #bcbcbc;
  --gold: #abb9bc;
  --accent: #ff7a58;
}

body.light-theme {
  --bg-dark: linear-gradient(to right, #e3f2fd, #f8f9fa, #fff);
  --text-light: #000000;
  --muted-light: #444444;
}

/* ---------- Layout ---------- */
.upgraded-hero {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 80px 8%;
  transition: background .4s ease, color .4s ease;
}

.hero-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 50px;
  max-width: 1300px;
  margin: auto;
}

/* ---------- Left Side ---------- */
.hero-left {
  flex: 1;
  min-width: 360px;
  font-family: 'Poppins', sans-serif;
}

.hero-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(2.6rem, 4.6vw, 4.2rem);
  line-height: 1.1;
  color: var(--text-light);
  margin-bottom: 22px;
  letter-spacing: -0.3px;
  text-shadow: none;
}

.hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted-light);
  margin-bottom: 35px;
  text-shadow: none;
}

.hero-subtitle strong {
  font-weight: 700;
  color: var(--text-light);
}

/* ---------- Buttons ---------- */
.hero-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-btn {
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 999px;
  border: 2px solid var(--gold);
  color: var(--text-light);
  background: transparent;
  transition: background .25s ease, color .25s ease;
}

.hero-btn:hover {
  background: var(--gold);
  color: #000;
}

/* ---------- Theme Toggle ---------- */
.theme-toggle {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 9999;
  background: #fff;
  border: none;
  color: var(--text-light);
  font-size: 1.2rem;
  cursor: pointer;
}

/* ---------- Right Grid ---------- */
.hero-right {
  width: 480px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.slideshow-box {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 2px solid var(--gold);
  height: 210px;
}

.box-label {
  position: absolute;
  top: 10px;
  left: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light);
}

.slider-track {
  display: flex;
  height: 100%;
  transition: transform 700ms cubic-bezier(.22,.9,.28,1);
}

.slide {
  min-width: 100%;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }
  .hero-right {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 40px;
  }
}

@media (max-width: 500px) {
  .hero-right {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .slideshow-box {
    height: 180px;
  }
}
/* ---------- MOBILE APP EXPERIENCE ENHANCEMENTS ---------- */

/* Subtle fade & slide animation */
@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.upgraded-hero {
  animation: fadeSlideIn 0.8s ease-out both;
}

/* Title + Subtitle animation stagger */
.hero-title {
  animation: fadeSlideIn 0.9s ease-out both;
}
.hero-subtitle {
  animation: fadeSlideIn 1s ease-out both;
}

/* Buttons - flat app look */
.hero-btn {
  border-radius: 14px;
  border: none;
  font-weight: 600;
  background: rgba(255,255,255,0.08);
  color: var(--text-light);
  transition: background .25s ease, color .25s ease;
}
.hero-btn:hover {
  background: var(--gold);
  color: #000;
}

/* App-style padding & spacing */
@media (max-width: 900px) {
  .upgraded-hero {
    padding: 60px 5%;
    border-radius: 0;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 14px;
  }
  .hero-btn {
    width: 100%;
    text-align: center;
    padding: 14px 0;
  }
}

/* Cards: app-like clean feel */
.slideshow-box {
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.02);
  transition: background 0.25s ease, transform 0.25s ease;
}
.slideshow-box:hover {
  background: rgba(255,255,255,0.06);
  transform: scale(1.02);
}

/* Mobile layout refinements */
@media (max-width: 600px) {
  .hero-container {
    text-align: left;
    gap: 30px;
  }
  .hero-title {
    font-size: clamp(1.9rem, 6.5vw, 2.6rem);
  }
  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.65;
  }
  .hero-right {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .slideshow-box {
    height: 180px;
  }
}

/* Fixed theme toggle like app icon */
.theme-toggle {
  position: fixed;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: background 0.25s ease;
}
.theme-toggle:hover {
  background: rgba(255,255,255,0.15);
}
/* ---------- AUTO SCREEN-FIT LAYOUT (Full Adaptive Mode) ---------- */

/* Makes hero fill entire screen on any device */
.upgraded-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6vw;
  box-sizing: border-box;
}

/* Centers all elements neatly even on small screens */
.hero-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1280px;
  height: auto;
  box-sizing: border-box;
}

/* Text area adapts dynamically */
.hero-left {
  flex: 1 1 400px;
  min-width: 300px;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Automatically scales down for small viewports */
.hero-title {
  font-size: clamp(1.8rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 18px;
}
.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  line-height: 1.6;
}

/* Right side slideshow grid fits automatically */
.hero-right {
  flex: 1 1 360px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  justify-content: center;
  align-items: center;
}

/* Each slideshow box scales with viewport */
.slideshow-box {
  height: clamp(160px, 25vh, 220px);
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid var(--gold);
  transition: transform 0.3s ease;
}
.slideshow-box:hover {
  transform: scale(1.02);
}

/* Title and subtitle always remain visible & centered */
@media (max-width: 1024px) {
  .hero-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
  }
  .hero-left {
    max-width: 100%;
  }
  .hero-right {
    width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
  }
}

/* For small mobile screens */
@media (max-width: 600px) {
  .upgraded-hero {
    padding: 40px 5%;
  }
  .hero-title {
    font-size: clamp(1.6rem, 7vw, 2.4rem);
    margin-bottom: 12px;
  }
  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.55;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .hero-btn {
    width: 100%;
    text-align: center;
    padding: 12px 0;
  }
  .hero-right {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .slideshow-box {
    height: clamp(140px, 25vh, 180px);
  }
}
/* ---------- MONUMENT NAME FADE EFFECT ---------- */

/* Default state: label hidden */
.slideshow-box {
  position: relative;
  overflow: hidden;
}

.box-label {
  position: absolute;
  bottom: 14px;
  left: 14px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  padding: 6px 12px;
  border-radius: 6px;
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.35s ease;
}

/* On hover: fade in + slide up */
.slideshow-box:hover .box-label {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 900px) {
  .box-label {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }
}
/* ==========================================
🍎 APPLE-STYLE MODERN HERO SECTION
========================================== */

/* ===== DESKTOP ===== */
@media (min-width: 769px) {
  .hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 100px;
    background: linear-gradient(145deg, #f9f9f9, #ffffff);
    border-radius: 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(8px);
    transition: all 0.4s ease;
  }

  .hero-left {
    flex: 1;
    padding-right: 50px;
  }

  .hero-title {
    font-family: "SF Pro Display", "Poppins", sans-serif;
    font-size: 3.4rem;
    font-weight: 700;
    line-height: 1.15;
    color: #111;
    background: linear-gradient(to right, #000, #444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
  }

  .hero-subtitle {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 40px;
  }

  .hero-buttons {
    display: flex;
    gap: 18px;
  }

  .hero-buttons a {
    padding: 14px 34px;
    border-radius: 12px;
    background: linear-gradient(to right, #f8f8f8, #eaeaea);
    color: #111;
    font-weight: 600;
    border: 1px solid #ddd;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-decoration: none;
    transition: all 0.35s ease;
  }

  .hero-buttons a:hover {
    background: linear-gradient(to right, #ffffff, #f6ee0c);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transform: translateY(-3px);
  }

  /* 🍎 Right side grid like Apple */
  .hero-right {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    place-items: center;
  }

  .hero-right img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 22px;
    box-shadow:
      0 4px 10px rgba(0, 0, 0, 0.05),
      0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.5s ease;
  }

  .hero-right img:hover {
    transform: scale(1.04);
    box-shadow:
      0 6px 12px rgba(0, 0, 0, 0.08),
      0 14px 28px rgba(0, 0, 0, 0.12);
  }
}


/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(145deg, #ffffff, #f4f4f4);
    border-radius: 24px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  }

  .hero-left {
    margin-bottom: 30px;
  }

  .hero-title {
    font-family: "SF Pro Display", "Poppins", sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.3;
    background: linear-gradient(to right, #111, #555);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 18px;
  }

  .hero-subtitle {
    font-size: 1rem;
    color: #444;
    margin-bottom: 25px;
    line-height: 1.6;
  }

  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    align-items: center;
  }

  .hero-buttons a {
    width: 80%;
    max-width: 280px;
    padding: 12px 25px;
    background: linear-gradient(145deg, #f8f8f8, #ededed);
    border-radius: 12px;
    color: #111;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #ddd;
    transition: all 0.35s ease;
  }

  .hero-buttons a:hover {
    background: linear-gradient(to right, #ffffff, #f6ee0c);
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  }

  /* 🍎 Apple-like card grid for mobile */
  .hero-right {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    width: 100%;
    margin-top: 25px;
  }

  .hero-right img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 22px;
    box-shadow:
      0 4px 10px rgba(0, 0, 0, 0.05),
      0 10px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.35s ease;
  }

  .hero-right img:hover {
    transform: scale(1.03);
    box-shadow:
      0 6px 14px rgba(0, 0, 0, 0.08),
      0 14px 30px rgba(0, 0, 0, 0.12);
  }
}

